package com.sluggard.ai.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sluggard.mp.model.entity.StandardAuditEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 模型配置
 * </p>
 *
 * @author lizheng
 * @since 2025-04-23
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("ai_chat_options")
@Schema(name = "ChatOptionsEntity", description = "模型配置")
public class ChatOptionsEntity extends StandardAuditEntity {

    private static final long serialVersionUID = 1L;

    @TableField("model")
    private String model;

    @Schema(description = "模型名")
    @TableField("model_name")
    private String modelName;

    @Schema(description = "聊天类型：TEXT-文本对话,AUDIO-语音对话,IMAGE-图文对话")
    @TableField("type")
    private String type;

    @TableField("enable_search")
    private Boolean enableSearch;

    @TableField("incremental_output")
    private Boolean incrementalOutput;

    @TableField("temperature")
    private Double temperature;

    @TableField("top_k")
    private Integer topK;

    @TableField("top_p")
    private Double topP;
}
